package com.ruoyi.youtobe.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * YouToBe视频信息对象 youtobe_channel_video
 *
 * @author ruoyi
 * @date 2025-11-15
 */
@Data
public class YoutobeChannelVideo extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    private Long id;

    /**
     * 视频id
     */
    @Excel(name = "视频id")
    private String videoId;

    /**
     * 关联频道id
     */
    private Long channelId;

    /**
     * 频道名称
     */
    @Excel(name = "频道名称")
    private String channelName;

    /**
     * 类型
     */
    @Excel(name = "类型")
    private String type;

    /**
     * 默认标题
     */
    @Excel(name = "默认标题")
    private String defaultTitle;

    /**
     * 标题关键字 #后面的
     */
    @Excel(name = "标题关键字 #后面的")
    private String titleKey;

    /**
     * 中文标题
     */
    private String chineseTitle;

    /**
     * 英文标题
     */
    private String englishTitle;

    /**
     * 播放量
     */
    @Excel(name = "播放量")
    private Long viewCount;

    /**
     * 发布时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发布时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date publishTime;

    /**
     * 封面Url
     */
    @Excel(name = "封面Url")
    private String thumbnailUrl;

    /**
     * 封面字符串
     */
    private String thumbnailStr;

    /** 本地封面Ur路径l */
    @Excel(name = "本地封面Ur路径l")
    private String localUrl;

    private List<Long> channelList;
    @Excel(name = "排序")
    private String orderBy;
    @Excel(name = "视频类型")
    private String pushType;
}
